package com.mm.ai.service;

import com.github.dockerjava.api.command.CreateContainerResponse;
import com.github.dockerjava.api.command.InspectContainerResponse;

import java.util.List;

/**
 * @Author： tzy
 * @Date： 2024/11/17 20:42
 */
public interface DockerContainerService {
    void createContainer(String imageName, String containerName) throws Exception;
    InspectContainerResponse getContainerInfo(String containerId);
    void updateContainer(String containerId, int cpuShares);
    void deleteContainer(String containerId);
    void startContainer(String containerId);
    void stopContainer(String containerId);
    List<String> getItChatQRCodeUrlByContainer(String containerId);
}
